package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 还款计划明细表 hatchet_plan_item
 * 
 * @author ruoyi
 * @date 2019-03-02
 */
public class HatchetPlanItem extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private String iD;
	/** 商户id */
	private String merchantId;
	/** 扣款账户 */
	private String fromIncreaseId;
	/** 大计划id */
	private String planId;
	/** 付款金额 */
	private BigDecimal mONEY;
	/** 状态 */
	private String sTATUS;
	/** 执行时间 */
	private Date planTime;
	/** 支付订单id */
	private String orderId;
	/** 收款账户 */
	private String toIncreaseId;
	/** 到款金额 */
	private BigDecimal toMoney;
	/** 类型 */
	private String tYPE;
	/** 组数 */
	private String groupNumber;
	/** 自选城市 */
	private String customizeCity;
	/** 行业 */
	private String cityIndustry;
	/** 商户（行业）名称 */
	private String industryName;

	//临时字段
	//商户表字段
	/** 商户编号 */
	private String merchantNo;
	/** 商户名称 */
	private String merchantName;
	//账户信息表字段
	/** 扣款卡号 */
	private String fromBankAccount;
	/** 持卡人 */
	private String fromBankAccountName;
	/** 预留手机 */
	private String fromBankphone;
	
	//订单表字段
	/** 订单号 */
	private String orderNo;
	
	//大计划表字段
	/** 创建时间 */
	private Date createTime;
	/** 修改时间 */
	private Date updateTime;
	//临时字段终端返回码
	private String acqResponseCode;
	//临时查询字段 商户id集合
	private List<String> merchantIds;
	//临时字段高级顾问id
	private String brokerId;
	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setMerchantId(String merchantId) 
	{
		this.merchantId = merchantId;
	}

	public String getMerchantId() 
	{
		return merchantId;
	}
	public void setFromIncreaseId(String fromIncreaseId) 
	{
		this.fromIncreaseId = fromIncreaseId;
	}

	public String getFromIncreaseId() 
	{
		return fromIncreaseId;
	}
	public void setPlanId(String planId) 
	{
		this.planId = planId;
	}

	public String getPlanId() 
	{
		return planId;
	}
	public void setMONEY(BigDecimal mONEY) 
	{
		this.mONEY = mONEY;
	}

	public BigDecimal getMONEY() 
	{
		return mONEY;
	}
	public void setSTATUS(String sTATUS) 
	{
		this.sTATUS = sTATUS;
	}

	public String getSTATUS() 
	{
		return sTATUS;
	}
	public void setPlanTime(Date planTime) 
	{
		this.planTime = planTime;
	}

	public Date getPlanTime() 
	{
		return planTime;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}
	public void setToIncreaseId(String toIncreaseId) 
	{
		this.toIncreaseId = toIncreaseId;
	}

	public String getToIncreaseId() 
	{
		return toIncreaseId;
	}
	public void setToMoney(BigDecimal toMoney) 
	{
		this.toMoney = toMoney;
	}

	public BigDecimal getToMoney() 
	{
		return toMoney;
	}
	public void setTYPE(String tYPE) 
	{
		this.tYPE = tYPE;
	}

	public String getTYPE() 
	{
		return tYPE;
	}
	public void setGroupNumber(String groupNumber) 
	{
		this.groupNumber = groupNumber;
	}

	public String getGroupNumber() 
	{
		return groupNumber;
	}
	public void setCustomizeCity(String customizeCity) 
	{
		this.customizeCity = customizeCity;
	}

	public String getCustomizeCity() 
	{
		return customizeCity;
	}
	public void setCityIndustry(String cityIndustry) 
	{
		this.cityIndustry = cityIndustry;
	}

	public String getCityIndustry() 
	{
		return cityIndustry;
	}
	public void setIndustryName(String industryName) 
	{
		this.industryName = industryName;
	}

	public String getIndustryName() 
	{
		return industryName;
	}

	
    public String getMerchantNo() {
		return merchantNo;
	}

	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	
	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getFromBankAccount() {
		return fromBankAccount;
	}

	public void setFromBankAccount(String fromBankAccount) {
		this.fromBankAccount = fromBankAccount;
	}

	public String getFromBankAccountName() {
		return fromBankAccountName;
	}

	public void setFromBankAccountName(String fromBankAccountName) {
		this.fromBankAccountName = fromBankAccountName;
	}

	public String getFromBankphone() {
		return fromBankphone;
	}

	public void setFromBankphone(String fromBankphone) {
		this.fromBankphone = fromBankphone;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getAcqResponseCode() {
		return acqResponseCode;
	}

	public void setAcqResponseCode(String acqResponseCode) {
		this.acqResponseCode = acqResponseCode;
	}

	public List<String> getMerchantIds() {
		return merchantIds;
	}

	public void setMerchantIds(List<String> merchantIds) {
		this.merchantIds = merchantIds;
	}
	
	
	public String getBrokerId() {
		return brokerId;
	}

	public void setBrokerId(String brokerId) {
		this.brokerId = brokerId;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("merchantId", getMerchantId())
            .append("fromIncreaseId", getFromIncreaseId())
            .append("planId", getPlanId())
            .append("mONEY", getMONEY())
            .append("sTATUS", getSTATUS())
            .append("planTime", getPlanTime())
            .append("orderId", getOrderId())
            .append("toIncreaseId", getToIncreaseId())
            .append("toMoney", getToMoney())
            .append("tYPE", getTYPE())
            .append("groupNumber", getGroupNumber())
            .append("customizeCity", getCustomizeCity())
            .append("cityIndustry", getCityIndustry())
            .append("industryName", getIndustryName())
            .toString();
    }
}
